package tool.code.generater.struct;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@NoArgsConstructor
@Accessors(chain = true)
public class ColumnDef {
    private boolean primaryKey;
    private String name;
    /**
     * 该字段的数据库类型
     */
    private String type;
    private String comment;
    /**
     * 该字段的java类型
     */
    private String fieldType;
    private String javaTypePackage;
}
